package mr.ali.webvideo.service;

import com.github.pagehelper.PageInfo;
import mr.ali.webvideo.model.CollectionRecommend;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mr-ali
 * @since 2025-08-16
 */
public interface ICollectionRecommendService extends IService<CollectionRecommend> {

    PageInfo<CollectionRecommend> findAll(Integer pageNum, Integer pageSize, Integer userId, Integer videoId);

    Integer delete(Integer userId, Integer videoId);

    Integer insert(Integer userId, Integer videoId);
}
